GBML manual / Paths

path

Which path this instance is following, if any (nothing if it is not on one). Set by path_start(), cleared by path_stop() or reaching the end with PATH_STOP.

Syntax

path: path

Description

Which path this instance is following, if any - nothing if it is not on one. Set by path_start, cleared by path_stop or by reaching the end of the path under PATH_STOP.

Example

var following_a_path = (path != nothing);

Records whether the walker is currently following any path at all - nothing once it has never been given one, has been explicitly stopped, or reached the end under PATH_STOP.

See also: path_startpath_stoppath_pos